widget: tighten the conditions at which a press event is emulated
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 7 May 2014 17:08:50 +0000 (19:08 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:30 +0000 (19:54 +0200)
commitfe9685bca12c0f8b8538f65c49f1d57f82ad08bb
tree15db840378ec77cb445b5de752d87ca661bc3096
parent6e9b054543213692f47740143497d87786843a75
widget: tighten the conditions at which a press event is emulated

Make it really sure that the event is only emitted after every gesture
that consumed the button press is done with the sequence.
The event must only be emulated if a gesture in the capture phase happened
to consume the event, be cancelled, and
gtk/gtkgesture.c
gtk/gtkwidget.c